import request from '@/utils/request'

// 查询强派设置列表
export function listForce(query) {
  return request({
    url: '/boss/force/list',
    method: 'get',
    params: query
  })
}

// 查询强派设置详细
export function getForce(sendOrderId) {
  return request({
    url: '/boss/force/' + sendOrderId,
    method: 'get'
  })
}

// 新增强派设置
export function addForce(data) {
  return request({
    url: '/boss/force',
    method: 'post',
    data: data
  })
}

// 修改强派设置
export function updateForce(data) {
  return request({
    url: '/boss/force',
    method: 'put',
    data: data
  })
}

// 删除强派设置
export function delForce(sendOrderId) {
  return request({
    url: '/boss/force/' + sendOrderId,
    method: 'delete'
  })
}
